﻿<%@ Page Language="C#" ValidateRequest="false" AutoEventWireup="true" CodeBehind="ProcessEdit.aspx.cs" Inherits="JoinParty.admin.ProcessSetting.ProcessEdit" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
        <f:Panel ID="Panel1" ShowBorder="false" ShowHeader="false" AutoScroll="true" runat="server">

            <Items>
                <f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" runat="server" BodyPadding="10px"
                    Title="SimpleForm">
                    <Rows>
                        <f:FormRow runat="server">
                            <Items>
                                <f:TextBox ID="txtProcessName" runat="server" Label="步骤名称" Required="true" ShowRedStar="true" LabelAlign="right"></f:TextBox>
                            </Items>
                        </f:FormRow>
                        <f:FormRow runat="server">
                            <Items>
                                <f:DropDownList ID="ddlback" runat="server" Label="返回步骤" LabelAlign="right">
                                </f:DropDownList>
                            </Items>
                        </f:FormRow>
                        <f:FormRow>
                            <Items>
                                <f:CheckBox ID="cbIsNeetMessage" runat="server" Label="是否发送短信" LabelAlign="right"></f:CheckBox>
                            </Items>
                        </f:FormRow>
                        
                        <f:FormRow>
                            <Items>
                                <f:HtmlEditor ID="heContent" runat="server" Label="工作指引" LabelAlign="right"></f:HtmlEditor>
                             <%--   <f:ContentPanel ID="ContentPanel1" runat="server" ShowBorder="false" ShowHeader="false">
                                    <script type="text/plain" id="editor"></script>
                                </f:ContentPanel>--%>
                            </Items>
                        </f:FormRow>
                        
                    </Rows>
                </f:Form>
            </Items>
            <Toolbars>
                <f:Toolbar ID="Toolbar1" runat="server" Position="Bottom" ToolbarAlign="Center">
                    <Items>
                        <f:Button ID="btnSaveClose" ValidateForms="SimpleForm1" Icon="SystemSaveClose" OnClick="btnSaveClose_Click"
                            runat="server" Text="保存并关闭">
                        </f:Button>
                        <f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
                        </f:ToolbarSeparator>
                        <f:Button ID="btnClose" Icon="SystemClose" EnablePostBack="false" runat="server"
                            Text="关闭">
                        </f:Button>
                    </Items>
                </f:Toolbar>
            </Toolbars>
        </f:Panel>
    </form>
</body>
</html>
<%--<script src="../../../../Resource/ueditor/ueditor.config.js" type="text/javascript"></script>
<script src="../../../../Resource/ueditor/ueditor.all.min.js" type="text/javascript"></script>
<script type="text/javascript">
    var editorContent = '<%=EditorContent%>';

    var ue = UE.getEditor("editor", {
        initialFrameWidth: '100%',
        initialFrameHeight: '160',
        enableAutoSave: false,
        saveInterval: 1000000,
        elementPathEnabled: false,
        autoHeightEnabled: false
    });

    ue.ready(function () {
        if (editorContent) {
            ue.setContent(editorContent);
        }
    });
</script>--%>
